<?php

namespace App\Models\Service;

use App\Models\BaseModel;

/**
 * App\Models\Service\SMSVerify
 *
 * @property int $id
 * @property string $username 用户名
 * @property string $phone 手机号
 * @property string $verify 验证码
 * @property string $token 令牌
 * @property string $end_time 过期时间
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
 * @property-read int|null $notifications_count
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify query()
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify wherePhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify whereToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify whereUsername($value)
 * @method static \Illuminate\Database\Eloquent\Builder|SMSVerify whereVerify($value)
 * @mixin \Eloquent
 */
class SMSVerify extends BaseModel
{

    protected $table ='sms_verify';
    public $timestamps = true;
    protected $fillable = ['username','phone','verify','token','end_time'];  //设置允许写入的字段
}
